#ifndef BALL_H
#define BALL_H

#include "boarditem.h"

class Ball : public BoardItem
{
public:
    explicit Ball(Board *board, qint8 layer, qint32 scene_size, pos_t const &pos);

    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *);
    virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
    virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
};

#endif // BALL_H
